n = int(input())
j = 0
e = n

for i in range(1, n+1):
    j = i
    while j > 0 and e > 0:
        print(i, end=' ')
        j -= 1
        e -= 1
